package com.itcast.architecture.style_2;

import org.springframework.stereotype.Component;

import java.util.List;

@Component
public class Style2 {
    public List<String> main() {
        Input input = new Input();
        input.input("D:\\input.txt");
        Shift shift = new Shift(input.getLineTxt());
        shift.shift();
        Alphabetizer alphabetizer = new Alphabetizer(shift.getKwicList());
        return alphabetizer.sort();


    }
}

